package com.atguigu.gmall.product.service.impl;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.atguigu.gmall.product.mapper.BaseAttrInfoMapper;
import com.atguigu.gmall.product.service.BaseAttrInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 幼儿猿大班
 * 2021/9/24
 */

@Service
public class BaseAttrInfoServiceImpl implements BaseAttrInfoService {

    @Autowired
    BaseAttrInfoMapper baseAttrInfoMapper;

    @Override
    public List<BaseAttrInfo> getattrInfoList(Long category1Id, Long category2Id, Long category3Id) {
      List<BaseAttrInfo> baseAttrInfoList= baseAttrInfoMapper.getattrInfoList(category1Id,category2Id, category3Id);
      return baseAttrInfoList;

    }
}
